package org.jeecg.modules.product.contractor.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 承包商人员
 * @Author: jeecg-boot
 * @Date:   2024-07-08
 * @Version: V1.0
 */
@Data
public class TbContractorPersonnelVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**姓名*/
    @Excel(name = "姓名", width = 15)
    @Schema(description = "姓名")
    private String name;
	/**所属承包商*/
    @Excel(name = "所属承包商", width = 15, dictTable = "tb_contractor", dicText = "name", dicCode = "id")
    @Dict(dictTable = "tb_contractor", dicText = "name", dicCode = "id")
    @Schema(description = "所属承包商")
    private String contractorId;
	/**性别*/
    @Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    @Schema(description = "性别")
    private String sex;
	/**年龄*/
    @Excel(name = "年龄", width = 15)
    @Schema(description = "年龄")
    private Integer age;
	/**学历*/
    @Excel(name = "学历", width = 15, dicCode = "educationalBackground")
    @Dict(dicCode = "educationalBackground")
    @Schema(description = "学历")
    private String educationalBackground;
	/**身份证号*/
    @Excel(name = "身份证号", width = 15)
    @Schema(description = "身份证号")
    private String idCard;
	/**岗位类型*/
    @Excel(name = "岗位类型", width = 15, dicCode = "contractorPostType")
    @Dict(dicCode = "contractorPostType")
    @Schema(description = "岗位类型")
    private String contractorPostType;
	/**定位卡号*/
    @Excel(name = "定位卡号", width = 15)
    @Schema(description = "定位卡号")
    private String locationCardNumber;
	/**状态*/
    @Excel(name = "状态", width = 15, dicCode = "normalOrStop")
    @Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String deleted;
	/**租户id*/
    @Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;

    /**证书名称*/
    @Excel(name = "证书名称", width = 15)
    @Schema(description = "证书名称")
    private String certificateName;
    /**证书编号*/
    @Excel(name = "证书编号", width = 15)
    @Schema(description = "证书编号")
    private String number;
}
